package com.freewater.springboot.demo.ioc.qualifier.genericqualifier;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import java.util.List;

@Getter
public class Shop {

    @Autowired
    @Qualifier("stringStore1")
    private Store<String> stringStore;

    @Autowired
    @Qualifier("integerStore1")
    private Store<Integer> integerStore;

    @Autowired
    private List<Store<String>> stringStores;

    @Autowired
    private List<Store<Integer>> integerStores;
}
